package com.lijie.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lijie.entity.TbLoginLog;
import com.lijie.dao.TbLoginLogDao;
import com.lijie.service.TbLoginLogService;
import com.lijie.vo.TbLoginLogVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * 登录日志表(TbLoginLog)表服务实现类
 *
 * @author makejava
 * @since 2020-07-31 09:36:16
 */
@Service
public class TbLoginLogServiceImpl extends ServiceImpl<TbLoginLogDao, TbLoginLog> implements TbLoginLogService {

    @Override
    public List<TbLoginLog> findTbLoginLogDao(Integer current, Integer size, TbLoginLogVO tbLoginLogVO) {
        return this.baseMapper.findTbLoginLogDao(current,size,tbLoginLogVO);
    }

    @Override
    public Integer findUserAndDeptCount() {
        return this.baseMapper.findTbLoginLogCount();
    }




}